package com.etc.entity;

import java.math.BigDecimal;

public class Order {
    private Integer orderid;

    private Integer empid;

    private Integer userid;

    private Integer roomid;

    private BigDecimal ordersalary;

    private Integer orderstatus;

    private String orderdate;

    private String orderstartdate;

    private String orderenedate;
    private String ordertel;
   private String ordermessage;

    public String getOrdertel() {
	return ordertel;
}

public void setOrdertel(String ordertel) {
	this.ordertel = ordertel;
}

	public String getOrdermessage() {
	return ordermessage;
}

public void setOrdermessage(String ordermessage) {
	this.ordermessage = ordermessage;
}

	public Integer getOrderid() {
        return orderid;
    }

    public void setOrderid(Integer orderid) {
        this.orderid = orderid;
    }

    public Integer getEmpid() {
        return empid;
    }

    public void setEmpid(Integer empid) {
        this.empid = empid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getRoomid() {
        return roomid;
    }

    public void setRoomid(Integer roomid) {
        this.roomid = roomid;
    }

    public BigDecimal getOrdersalary() {
        return ordersalary;
    }

    public void setOrdersalary(BigDecimal ordersalary) {
        this.ordersalary = ordersalary;
    }

    public Integer getOrderstatus() {
        return orderstatus;
    }

    public void setOrderstatus(Integer orderstatus) {
        this.orderstatus = orderstatus;
    }

    public String getOrderdate() {
        return orderdate;
    }

    public void setOrderdate(String orderdate) {
        this.orderdate = orderdate;
    }

    public String getOrderstartdate() {
        return orderstartdate;
    }

    public void setOrderstartdate(String orderstartdate) {
        this.orderstartdate = orderstartdate;
    }

    public String getOrderenedate() {
        return orderenedate;
    }

    public void setOrderenedate(String orderenedate) {
        this.orderenedate = orderenedate;
    }
    public Order() {
		// TODO Auto-generated constructor stub
	}
    
    
    

	public Order(Integer orderid, Integer empid, Integer userid, Integer roomid, BigDecimal ordersalary,
			Integer orderstatus, String orderdate, String orderstartdate, String orderenedate, String ordertel,
			String ordermessage) {
		super();
		this.orderid = orderid;
		this.empid = empid;
		this.userid = userid;
		this.roomid = roomid;
		this.ordersalary = ordersalary;
		this.orderstatus = orderstatus;
		this.orderdate = orderdate;
		this.orderstartdate = orderstartdate;
		this.orderenedate = orderenedate;
		this.ordertel = ordertel;
		this.ordermessage = ordermessage;
	}

	public Order(Integer orderid, Integer empid, Integer userid, Integer roomid,
			Integer orderstatus, String orderdate, String orderstartdate, String orderenedate) {
		super();
		this.orderid = orderid;
		this.empid = empid;
		this.userid = userid;
		this.roomid = roomid;
		this.orderstatus = orderstatus;
		this.orderdate = orderdate;
		this.orderstartdate = orderstartdate;
		this.orderenedate = orderenedate;
	}

	@Override
	public String toString() {
		return "Order [orderid=" + orderid + ", empid=" + empid + ", userid=" + userid + ", roomid=" + roomid
				+ ", ordersalary=" + ordersalary + ", orderstatus=" + orderstatus + ", orderdate=" + orderdate
				+ ", orderstartdate=" + orderstartdate + ", orderenedate=" + orderenedate + "]";
	}
    
}